package com.biodiv.community.manager.mq;

import org.springframework.context.ApplicationEvent;

public class RedisMessageEvent extends ApplicationEvent {

    private final Object message;

    public RedisMessageEvent(Object source, Object message) {
        super(source);
        this.message = message;
    }

    public Object getMessage() {
        return message;
    }
}